package com.example.sequences.domain;

import com.example.sequences.core.jpa.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Student
 *
 * @author maxsc
 * @title Person.java
 * @date 2018/5/8
 */
@Getter
@Setter
@Entity
@Table(name = "t_student")
@ToString
@EntityListeners(AuditingEntityListener.class)
public class Student extends BaseEntity implements Serializable {
    @Column
    private String name;
    @Column
    private String gender;
    @Column
    private String age;
    @Column
    private String grade;
    @Column
    private String score;
    @Column
    private String mobile;
}
